<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>label</title>
</head>
<body>
    <!--
        关联文本和表单控件
    -->
    <div>
        <label for="gender_man">男</label> <input type="radio" name="gender" value="男" id="gender_man">
        <label for="gender_woman">女</label> <input type="radio" name="gender" value="女" id="gender_woman">
    </div>

    <hr>

    <div>
        <input type="checkbox" name="auto" value="check" id="auto_login">
        <label for="auto_login">下次自动登录</label>
    </div>
</body>
</html>